import request from '@/utils/request'

/**
 * 获取Wx配置列表
 */
export function getWxConfigSetInfoList() {
  return request({
    url: '/sys/wx/config/getWxSetInfoList',
    method: 'get'
  })
}

/**
 * 修改微信菜单
 */
export function menuJson(value) {
  return request({
    url: '/sys/wx/config/menuJson',
    method: 'post',
    data: value
  })
}

export function getMenu() {
  return request({
    url: '/sys/wx/config/getMenu',
    method: 'get'
  })
}
